package com.hzit.hzb.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hzit.hzb.core.pojo.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzit.hzb.core.pojo.vo.*;

/**
 * <p>
 * 用户基本信息 服务类
 * </p>
 *
 * @author hbxfwf
 * @since 2024-08-27
 */
public interface UserInfoService extends IService<UserInfo> {

	void register(RegisterVO vo);

	UserInfoVO login(LoginVO vo,String ip);

	IPage<UserInfo> listPage(Integer page, Integer limit, UserInfoQuery query);

	void lock(Long id, Integer status);

	boolean checkMobile(String mobile);

	UserIndexVO getIndexUserInfo(Long userId);
}
